package com.cdd.goods.mapper;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.common.entity.GoodsShop;
import com.common.entity.Shop;
import com.common.vo.ShopVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lzl
 * @since 2022-09-01
 */
public interface GoodsShopMapper extends BaseMapper<GoodsShop> {

    Page<ShopVo> selectShopAll(Page<ShopVo> page, @Param("ew") QueryWrapper<ShopVo> wrapper);

//    List<Goods>  selecetGname();

    List<Shop> selectAllShop();

    //List<ShopVo> selectShop();
//    Page<GoodsVo> selectGoodsAll(Page<GoodsVo> page, @Param("ew") QueryWrapper queryWrapper);
}
